home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / anim / grenadethrow.scr < prev    next >
Encoding:
Text File  |  2002-10-21  |  801 b   |  28 lines

  1. //------
  2. // Grenade throw
  3. //------
  4.  
  5.  
  6.  
  7. //===================================================================================
  8. GrenadeThrow:
  9.     //println "grenadethrow.scr"
  10.     waitexec "anim/default_inithandler.scr"
  11.     waitexec anim/smoking.scr::SmokeRemoveCigarette
  12.     
  13.     //TODO: need to override pain and death handlers for dropping grenade
  14.     self.blendtime = 0.3
  15.     self setmotionanim grenade_pullout 
  16.     self waittill flaggedanimdone
  17.  
  18.     self exec anim/say_grenade_thrown.scr
  19.  
  20.     self.blendtime = 0.1    // This animation should blend perfectly with the previous one
  21.     self setmotionanim grenade_throw
  22.     self waittill flaggedanimdone
  23.  
  24.     self.blendtime = 0.1    // This animation should blend perfectly with the previous one
  25.     self setmotionanim grenade_weapon_rearm
  26.     self waittill flaggedanimdone
  27. end
  28.